package com.yangxu.hospital.system.modules.system.domain;

import lombok.Data;

import java.io.Serializable;

@Data
public class AppointmentRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long userId;
    private AppointmentSlots appointment;
    private String appointmentId; // 唯一预约ID
    private String callbackUrl;   // 回调URL

    public AppointmentRequest(Long userId, AppointmentSlots appointment, String appointmentId, String callbackUrl) {
        this.userId = userId;
        this.appointment = appointment;
        this.appointmentId = appointmentId;
        this.callbackUrl = callbackUrl;
    }
}